<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
<link type="text/css" rel="stylesheet" href="http://www.xfxbaby.com/css/register.css">
<script type="text/javascript" src="<%=basePath%>/js/registerLogin.js"></script>
</head>
<body>
<div class="container">
<div style="margin-left:20px;_margin-left:12px;" class="reg_left">
	  <div class="loginsty">已有账号，请登录：</div>
	  <table border="0" align="center" width="100%" cellspacing="0" cellpadding="0">
		<tbody><tr>
		  <td align="left" width="22%" valign="middle" height="40">账户名：</td>
		  <td width="39%"> 
             <input type="text" class="inputnormall" value="用户名/邮箱"    style="color:#a0a0a0; height:22px; line-height:22px;" name="loginname" id="loginname">
             <span id="USERNAME"></span>
           </td>
            <td width="39%"></td>		
        </tr>
		<tr>
		  <td align="left" valign="middle" height="45">密&nbsp;&nbsp;码：</td>
		  <td><input type="password" style="width:188px; height:22px; line-height:22px;" 　class="inputnormall" id="loginpwd" name="loginpwd">
                <span id="PWD"></span></td>
		  <td width="39%"><div name="pwdmsg" id="pwdmsg"></div></td>
		</tr>
           <tr>
              <td>验证码：</td>
              <td width="39%">
               <input type="text" onfocus="getRandomKey('loginRandomKey')" style="width:45px;" class="inputsty" id="inputLoginRandomKey" name="sup">&nbsp;<font class="font_red">(*)</font>
               <img width="46" height="20" id="loginRandomKey" />&nbsp;<a onclick="getRandomKey('loginRandomKey');return false;" class="blue" href="javascript:void(0);"><u class="ee">换一张</u></a><span id="code_two"></span>
             </td>
            </tr>
		<tr>
		  <td align="left" valign="top" height="52">&nbsp;<input type="hidden" id="remember" name="remember"></td>
	    </tr>
		<tr>
		  <td align="left" valign="top" height="52" style="font-size:13px;">&nbsp;</td>
		  <td  colspan="2"><a href="javascript:void(0)" id="right_now_login">立即登陆</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="red" href="lostpassword.jsp">忘记密码?</a></td>
	    </tr>
	</tbody></table>
	</div>
	
	<div class="reg_right">
	  <div class="regsty">还没有账号，请注册：</div>

      <form action="user/register.do?method=RegisterLogin" method="post" id="registerForm">
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
		  <tbody><tr>
			<td width="26%" valign="top" height="30">Email：&nbsp;&nbsp;&nbsp;<font class="font_red">(*)</font></td>
		    <td width="35%" valign="top"><input type="text" class="inputnormall"     id="email" name="email" error="0">
         		 <span id="emailinfo" class="warninfo"></span>
            </td>

		   <td align="left" valign="top"></td>
		  </tr>
		  <tr>
			<td valign="top" height="30">用&nbsp;户&nbsp;名：<font class="font_red">(*)</font></td>
		    <td valign="top"><input  type="text" class="inputnormall"     id="username" name="username"  error="0">
             <span id="usernameinfo"  class="warninfo"></span>
           </td>
		    <td align="left" valign="top">&nbsp;</td>
		  </tr>
		  <tr>
		    <td valign="top" height="30">密&nbsp;&nbsp;&nbsp;&nbsp;码：<font class="font_red">(*)</font></td>
	        <td valign="top"><input type="password" class="inputnormall"      id="password" name="password">
            <span id="pwdinfo"  class="warninfo"></span>
           </td>
		    <td align="left" valign="top">&nbsp;</td>
		  </tr>
		  <tr>
		    <td valign="top" height="30">确认密码：<font class="font_red">(*)</font></td>
	        <td valign="top"><input type="password" class="inputnormall"      id="enterpassword" name="enterpassword"  error="0">
            <span id="passwordinfo"  class="warninfo"></span>
            </td>
		    <td align="left" valign="top">&nbsp;</td>
		  </tr>
		 	<tr>
              <td>验&nbsp;证&nbsp;码：</td>
              <td>
              <input type="text" onfocus="getRandomKey('registerRandomKey')" style="width:45px;" class="inputsty" id="inputRegisterRandomKey" name="supreg">&nbsp;<font class="font_red">(*)</font>
                <img width="46" height="20" id="registerRandomKey" />&nbsp;<a onclick="getRandomKey('registerRandomKey');return false;" class="blue" href="javascript:void(0);"><u class="ee">换一张</u></a>
                <span id="code_two"></span></td>
            </tr>
		  <tr>
		    <td height="30">&nbsp;</td>
	        <td valign="bottom" style="font-size:12px;" colspan="2"><input type="checkbox" value="checkbox" id="subbox" name="subbox">
            		我已阅读并同意<a class="blue" target="_blank" href="helpcenter/002003.html">《用户服务协议》</a></td>
	      </tr>
	      <tr>
		    <td height="60">&nbsp;</td>
		    <td>&nbsp;</td>
		  </tr>
		  <tr>
		    <td height="60">&nbsp;</td>
		    <td><a href="javascript:void(0)" id="right_now_register">立即注册</a></td>
		  </tr>
		</tbody></table>
    </form>
	</div>
	
	<p class="clear"></p>
</div>
</body>
</html>